package com.eastfair.venueservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.request.PageParams;
import com.eastfair.boot.service.SuperService;
import com.eastfair.venueservice.dto.ReportVenueDrawingCategoryAuditHistoryDTO;
import com.eastfair.venueservice.entity.ReportVenueDrawingAudit;
import com.eastfair.venueservice.entity.ReportVenueDrawingCategoryAudit;
import com.eastfair.venueservice.entity.ReportVenueDrawingCategoryAuditHistory;
import com.eastfair.venueservice.vo.ReportVenueDrawingCategoryAuditHistoryVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 一键报馆图纸分类审核记录历史
 * </p>
 *
 * @author dq
 * @date 2022 -09-16
 */
@Deprecated
public interface ReportVenueDrawingCategoryAuditHistoryService extends SuperService<ReportVenueDrawingCategoryAuditHistory> {

    /**
     * 报馆号查询图纸分类审核VO历史列表.
     *
     * @param pageParams the page params
     * @return the page
     */
    Page<ReportVenueDrawingCategoryAuditHistoryVO> listHistoryVOs(PageParams<ReportVenueDrawingCategoryAuditHistoryDTO> pageParams);

    /**
     * 报馆号查询图纸分类审核历史列表.
     *
     * @param pageParams the page params
     * @return the page
     */
    Page<ReportVenueDrawingCategoryAuditHistory> listHistories(PageParams<ReportVenueDrawingCategoryAuditHistoryDTO> pageParams);

    /**
     * 保存图纸分类审核历史.
     *
     * @param saveDTO the save dto
     * @return the boolean
     */
    boolean saveReportVenueDrawingCategoryAuditHistory(ReportVenueDrawingCategoryAuditHistoryDTO saveDTO);

    /**
     * 批量保存图纸分类审核历史.
     *
     * @param list the list
     * @return the boolean
     */
    boolean saveBatch(List<ReportVenueDrawingCategoryAuditHistoryDTO> list);

    /**
     * 图纸分类审核列表保存图纸分类审核历史.
     *
     * @param categoryList the category list
     * @param drawingList  the drawing list
     * @return the boolean
     */
    boolean saveBatchByReportVenueDrawingCategoryAudit(List<ReportVenueDrawingCategoryAudit> categoryList, List<ReportVenueDrawingAudit> drawingList);
}
